package com.cykj.entity;

import org.springframework.stereotype.Component;

@Component
public class OrderEntity {
    private int orderid;
    private int goodsid;
    private String time;
    private  int number;
    private String state;

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(int goodsid) {
        this.goodsid = goodsid;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "OrderEntity{" +
                "orderid=" + orderid +
                ", goodsid=" + goodsid +
                ", time='" + time + '\'' +
                ", number=" + number +
                ", state='" + state + '\'' +
                '}';
    }
}
